package com.jie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jie.dto.CombinationTopicDTO;
import com.jie.entity.ThematicCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 专题大类 Mapper 接口
 * </p>
 *
 * @author jie
 * @since 2024-04-21
 */
@Mapper
public interface ThematicCategoryMapper extends BaseMapper<ThematicCategory> {
    /**
     * 根据标签获取运动视频分页信息
     * @param classNames
     * @param pageSize
     * @return
     */
    List<CombinationTopicDTO> selectTopTopicsByClassNames(List<String> classNames,@Param("pageSize") int pageSize);

    /**
     * 获取全部运动专题信息
     */
    List<String> getThematicCategoryName();
}
